package com.lqq.service;

import com.lqq.dto.OrderDto;
import org.mengyun.tcctransaction.api.Compensable;

/**
 * @author qingqing.liang
 * @create 2018-01-30
 **/
public interface OrderService {

    OrderDto getById(Long id);

    /**
     * 下单并支付
     * @param orderDto
     * @return
     */
    @Compensable
    String order(OrderDto orderDto);

}
